package biz.inv.dto;

import biz.master.dto.Product;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by rachatanawee on 2/18/14.
 */
public class StockOutDetail implements Serializable {
    private int id;

    private double qty;
    private Date updateDate;
    private int releaseId;

    private String unit;
    private Product product;

    @Override
    public String toString() {
        return "StockOutDetail{" +
                "id=" + id +
                ", qty=" + qty +
                ", updateDate=" + updateDate +
                ", releaseId=" + releaseId +
                ", unit='" + unit + '\'' +
                ", product=" + product +
                '}';
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }


    public int getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(int releaseId) {
        this.releaseId = releaseId;
    }

    public StockOutDetail() {
        product = new Product();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public double getQty() {
        return qty;
    }

    public void setQty(double qty) {
        this.qty = qty;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
